<script setup>
import { ref } from "vue";
const color = ref('pink')
</script>
  
<template>
    <div>
      <input type="text" name="" id="" v-focus>
      <p v-color="color">哈哈</p>
    </div>
</template>
  
<style>
  
</style>